package org.darkforest.dao.mapper;

import java.util.List;

import org.darkforest.dao.annotation.DBMapper;
import org.darkforest.model.Consult;
import org.darkforest.model.ConsultSearchBean;
import org.darkforest.model.ConsultVo;
@DBMapper
public interface ConsultMapper {
    int deleteByPrimaryKey(int consultId);

     int deleteByIds(List list);

    int insert(Consult record);

    int insertSelective(Consult record);

    Consult selectByPrimaryKey(Integer consultId);

    int updateByPrimaryKeySelective(Consult record);

    int updateByPrimaryKey(Consult record);
    
    List<ConsultVo> selectByMember(ConsultSearchBean page);

    List<ConsultVo>  selectListByCondition(ConsultSearchBean page);

    int updateByPrimaryKeySetConsultReply(Consult record);
    List<ConsultVo> selectConsultList(ConsultSearchBean page);
}